package com.ynb.lighterbuffer;

public class IntSchema implements ISchema<Integer>{
	@Override
	public void serialize(Integer o,BinaryWriter writer) throws Exception{
		writer.writeInt(o);
	}
	@Override
	public Integer deSerialize(Class<Integer> type,BinaryReader reader) throws Exception{
		return reader.readInt();
	}
}